<html>
<head>
	<script src="../js/dojo/dojo.js"></script>
	<script src="../js/dair/Aliases.js"></script>
	<script type="text/javascript">
		dojo.require("dair.Application");
		dojo.addOnLoad(function(){
		
			var app = new dair.Application();
			
		//	app.
			var i = 0;
			setInterval(dojo.hitch(app,function(){
				this.notify([{
					message:"Object Message",
					type: (++i % 2 ? "message" : "warning"),
					duration:"7000"
				}]);//notify(["This is some message!"]);
			}), 5000);
			
		});
		
	</script>
</head>
<body>

</body>
</html>